package com.turnengine.client.global.translation.command.set;

import com.javabi.codebuilder.generated.IGeneratedCommandSet;
import com.javabi.common.locale.LanguageCountry;
import com.turnengine.client.global.translation.bean.ITranslation;

/**
 * The I Global Translation Command Set.
 */
public interface IGlobalTranslationCommandSet extends IGeneratedCommandSet {

	int newTranslation(long loginId, String english);

	int setTranslation(long loginId, int id, LanguageCountry language, String translation);

	ITranslation getTranslationById(int id, LanguageCountry language);

	ITranslation getTranslationByText(String english, LanguageCountry language);
}
